<template>
    <ul>
        <li v-for="(item,ind) in file" :key="ind">
            {{item.dirname?item.dirname:item.filename}}
            <list v-if="item.children" :file="item.children"></list>
        </li>
    </ul>
</template>
<script>
export default {
    name:'list',
    props:['file']
}
</script>
